﻿class Weapon:
	def __init__(this):
		pass

class SkirmishWeapon(Weapon):
	def __init__(this):
		Weapon.__init__(this)
	
	def testStrike(this, dice, myBase, enemyBase):
		dest = myBase.dest()
		veteranBonus = myBase.isVeteran()
		if dice > dest or dice == dest and veteranBonus:
			return True
		return False

class SpireWeapon(Weapon):
	def __init__(this):
		Weapon.__init__(this)
	
	def testStrike(this, dice, myBase, enemyBase):
		dest = myBase.dest()
		veteranBonus = myBase.isVeteran()
		if dice < dest or dice == dest and veteranBonus:
			return True
		return False

class PilumWeapon(Weapon):
	def testStrike(this, dice, myBase, enemyBase):
		dest = enemyBase.dest()
		veteranBonus = myBase.isVeteran()
		if dice < dest or dice == dest and veteranBonus:
			return True
		return False